<div class="pageHeader">
  <form id="pagerForm" onsubmit="return divSearch(this,'jbsxBox');"
	action="#{$smarty.const.ACT}#/FinInvoicePay/fin_invoice_pay_show_box/" method="post">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="#{$numPerPage}#" />
    <input type="hidden" name="orderField" value="${param.orderField}" />
    <input type="hidden" name="busID" value="#{$busID}#" />
    <input type="hidden" name="busType" value="#{$busType}#" />
    <div class="searchBar">
      <table class="searchContent">
        <tr>
          <td><select class="combox" name="searchKeyword">
              <option value="name"  #{if $searchKeyword eq 'name'}# selected="selected" #{/if}#>名称</option>
            </select></td>
          <td><input type="text" name="searchValue" value="#{$searchValue}#" /></td>
          <td><ul>
              <li>
                <div class="buttonActive">
                  <div class="buttonContent">
                    <button type="submit">检索</button>
                  </div>
                </div>
              </li>
            </ul></td>
        </tr>
      </table>
    </div>
  </form>
</div>
<div class="pageContent">
  <div class="panelBar">
    <ul class="toolBar">
      <li class="line">line</li>
      <li> <a class="pro" href="javascript:;"><span>发票总金额: <font color="red">#{$total_money}#</font></span></a> </li>
      <li class="line">line</li>
    </ul>
  </div>
  <ul>
    <table class="table" width="100%" layoutH="145" rel="jbsxBox">
      <thead>
        <tr>
          <th width="22"><input type="checkbox" group="ids"
					class="checkboxCtrl"></th>
          <th align="left" width="60">发票编号</th>
          <th align="left" width="150">发票内容</th>
          <th align="left" width="60">发票金额</th>
          <th align="left" width="200">客户名称</th>
          <th align="left" width="80">开票日期</th>
          <th align="left" width="60">开票其次</th>
          <th align="left">开票人</th>
        </tr>
      </thead>
      <tbody>
      
      #{foreach from=$list key=k item=v}#
      <tr target="sid_user" rel="#{$v.id}#">
        <td><input name="ids" value="#{$v.id}#" type="checkbox"></td>
        <td align="left">#{$v.id}#</td>
        <td align="left">#{$v.name}#</td>
        <td align="left">#{$v.money}#</td>
        <td align="left">#{$customer[$v.id]}#</td>
        <td align="left">#{$v.paydate}#</td>
        <td align="left">#{$v.stages}#</td>
        <td align="left">#{$v.create_user}#</td>
      </tr>
      #{/foreach}#
        </tbody>
      
    </table>
    <div class="panelBar">
      <div class="pages"><span>显示</span>
        <select class="combox" name="numPerPage"  onchange="navTabPageBreak({numPerPage:this.value}, 'jbsxBox')">
          <option value="20" #{if $numPerPage eq '20'}# selected="selected" #{/if}#>20</option>
          <option value="50" #{if $numPerPage eq '50'}# selected="selected" #{/if}#>50</option>
          <option value="100" #{if $numPerPage eq '100'}# selected="selected" #{/if}#>100</option>
          <option value="200" #{if $numPerPage eq '200'}# selected="selected" #{/if}#>200</option>
          <option value="500" #{if $numPerPage eq '500'}# selected="selected" #{/if}#>500</option>
        </select>
        <span>条，共#{$totalCount}#条,金额合计:<font color="#FF0000">#{$total_money}#</font> </span></div>
      <div class="pagination" totalCount="#{$totalCount}#" targetType="dialog" rel="jbsxBox" numPerPage="#{$numPerPage}#"
		pageNumShown="10" currentPage="#{$currentPage}#"></div>
    </div>
  </ul>
</div>
